﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Devtm.Generator.Configurations;
using System.IO;

namespace Devtm.Generator.Contexts
{

    public class Context : IContext
    {

        public Solution Solution { get; internal set; }

        public DirectoryInfo SolutionPath { get; internal set; }

        public string Name { get; internal set; }

        public Project DefaultProject { get; internal set; }

        public GeneratorSection Configuration { get; internal set; }

        public GeneratorConfigurationElement GetConfigurationElement()
        {
            return Configuration.Items[Name];
        }

        public virtual void Intialize()
        {
          
        }


        public string Namespace { get; set; }
        public string Filename { get; set; }
        public string Extend { get; set; }


    }

}
